#! /usr/bin/env python
#coding=utf-8
# Simple CGI Example - Chapter 18 - simple.cgi

import cgitb 
cgitb.enable()

import time
print "Content-type: text/html"
print 

print """<HTML>
<head>
<title>Sample CGI Script</title></head>

<body>
the present time is %s.</body></HTML>""" % time.strftime("%I:%M:%S %p %z")
print